/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 *
 * @author VuTienIT
 */
public class PhieuPOJO implements Serializable {
    private int MaPhieu;
    private String TenPhieu;
    private String MoTa;
    private String LuuY;
    private double GiaGoc;
    private int GiamGia;
    private double GiaBan;
    private double ThanhTienGioHang;
    private Timestamp BatDauKhuyenMai;
    private Timestamp KetThucKhuyenMai;
    private int SoLuongMua;
    private int SoLuongQuyDinh;
    private String HinhChinh;
    private int MaTinhTrang;
    private boolean KhoaPhieu;
    private int MaDanhMuc;
    private int MaNCC;
    private boolean AnHien;
    
    public PhieuPOJO(){ 
        this.MaPhieu = -1;
    }

    /**
     * @return the MaPhieu
     */
    public int getMaPhieu() {
        return MaPhieu;
    }

    /**
     * @param MaPhieu the MaPhieu to set
     */
    public void setMaPhieu(int MaPhieu) {
        this.MaPhieu = MaPhieu;
    }

    /**
     * @return the TenPhieu
     */
    public String getTenPhieu() {
        return TenPhieu;
    }

    /**
     * @param TenPhieu the TenPhieu to set
     */
    public void setTenPhieu(String TenPhieu) {
        this.TenPhieu = TenPhieu;
    }

    /**
     * @return the MoTa
     */
    public String getMoTa() {
        return MoTa;
    }

    /**
     * @param MoTa the MoTa to set
     */
    public void setMoTa(String MoTa) {
        this.MoTa = MoTa;
    }

    /**
     * @return the GiaGoc
     */
    public double getGiaGoc() {
        return GiaGoc;
    }

    /**
     * @param GiaGoc the GiaGoc to set
     */
    public void setGiaGoc(double GiaGoc) {
        this.GiaGoc = GiaGoc;
    }

    /**
     * @return the GiamGia
     */
    public int getGiamGia() {
        return GiamGia;
    }

    /**
     * @param GiamGia the GiamGia to set
     */
    public void setGiamGia(int GiamGia) {
        this.GiamGia = GiamGia;
    }

    /**
     * @return the GiaBan
     */
    public double getGiaBan() {
        return GiaBan;
    }

    /**
     * @param GiaBan the GiaBan to set
     */
    public void setGiaBan(double GiaBan) {
        this.GiaBan = GiaBan;
    }

    /**
     * @return the BatDauKhuyenMai
     */
    public Timestamp getBatDauKhuyenMai() {
        return BatDauKhuyenMai;
    }

    /**
     * @param BatDauKhuyenMai the BatDauKhuyenMai to set
     */
    public void setBatDauKhuyenMai(Timestamp BatDauKhuyenMai) {
        this.BatDauKhuyenMai = BatDauKhuyenMai;
    }

    /**
     * @return the KetThucKhuyenMai
     */
    public Timestamp getKetThucKhuyenMai() {
        return KetThucKhuyenMai;
    }

    /**
     * @param KetThucKhuyenMai the KetThucKhuyenMai to set
     */
    public void setKetThucKhuyenMai(Timestamp KetThucKhuyenMai) {
        this.KetThucKhuyenMai = KetThucKhuyenMai;
    }

    /**
     * @return the SoLuongMua
     */
    public int getSoLuongMua() {
        return SoLuongMua;
    }

    /**
     * @param SoLuongMua the SoLuongMua to set
     */
    public void setSoLuongMua(int SoLuongMua) {
        this.SoLuongMua = SoLuongMua;
    }

    /**
     * @return the SoLuongQuyDinh
     */
    public int getSoLuongQuyDinh() {
        return SoLuongQuyDinh;
    }

    /**
     * @param SoLuongQuyDinh the SoLuongQuyDinh to set
     */
    public void setSoLuongQuyDinh(int SoLuongQuyDinh) {
        this.SoLuongQuyDinh = SoLuongQuyDinh;
    }

    /**
     * @return the HinhChinh
     */
    public String getHinhChinh() {
        return HinhChinh;
    }

    /**
     * @param HinhChinh the HinhChinh to set
     */
    public void setHinhChinh(String HinhChinh) {
        this.HinhChinh = HinhChinh;
    }

    /**
     * @return the MaTinhTrang
     */
    public int getMaTinhTrang() {
        return MaTinhTrang;
    }

    /**
     * @param MaTinhTrang the MaTinhTrang to set
     */
    public void setMaTinhTrang(int MaTinhTrang) {
        this.MaTinhTrang = MaTinhTrang;
    }

    /**
     * @return the KhoaPhieu
     */
    public boolean isKhoaPhieu() {
        return KhoaPhieu;
    }

    /**
     * @param KhoaPhieu the KhoaPhieu to set
     */
    public void setKhoaPhieu(boolean KhoaPhieu) {
        this.KhoaPhieu = KhoaPhieu;
    }

    /**
     * @return the MaDanhMuc
     */
    public int getMaDanhMuc() {
        return MaDanhMuc;
    }

    /**
     * @param MaDanhMuc the MaDanhMuc to set
     */
    public void setMaDanhMuc(int MaDanhMuc) {
        this.MaDanhMuc = MaDanhMuc;
    }

    /**
     * @return the MaNCC
     */
    public int getMaNCC() {
        return MaNCC;
    }

    /**
     * @param MaNCC the MaNCC to set
     */
    public void setMaNCC(int MaNCC) {
        this.MaNCC = MaNCC;
    }
    
   
    /**
     * @return the AnHien
     */
    public boolean getAnHien() {
        return AnHien;
    }

    /**
     * @param AnHien the AnHien to set
     */
    public void setAnHien(boolean AnHien) {
        this.AnHien = AnHien;
    }

    /**
     * @return the LuuY
     */
    public String getLuuY() {
        return LuuY;
    }

    /**
     * @param LuuY the LuuY to set
     */
    public void setLuuY(String LuuY) {
        this.LuuY = LuuY;
    }

    /**
     * @return the ThanhTienGioHang
     */
    public double getThanhTienGioHang() {
        return ThanhTienGioHang;
    }

    /**
     * @param ThanhTienGioHang the ThanhTienGioHang to set
     */
    public void setThanhTienGioHang(double ThanhTienGioHang) {
        this.ThanhTienGioHang = ThanhTienGioHang;
    }
    
    @Override
    public String toString() {
        return "MaPhieu,TenPhieu,MoTa,LuuY,GiaGoc,GiamGia,GiaBan,BatDauKhuyenMai,KetThucKhuyenMai,SoLuongMua,SoLuongQuyDinh,HinhChinh,MaTinhTrang,KhoaPhieu,MaDanhMuc,MaNCC,AnHien";
    }
}
